/* UPLOAD FILE */
.uploader {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    position: absolute;
}
.file-upload{
    opacity: 0;
    width: 0.1px;
    height: 0.1px;
}
.file-upload + label{
    background-color: transparent;
    border-width: 2px;
    border-color: #fd9f31;
    border-style: solid;
    color: #fd9f31;
    height: 16px;
    min-width: 100px;  
    max-width: 240px;
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;
    font-family: helvetica;
    font-size: 12px;
    border-radius: 4px;
    transition: 0.25s;
    cursor: pointer;  
    display: inline-block;
    padding-top: 2px;

}
.file-upload + label:hover {
    background-color: #fd9f31;
    color:white;  
}

/* choose brand */
.dropbtn {
    background-color: transparent;
    border-width: 2px;
    border-color: #fd9f31;
    border-style: solid;
    color: #fd9f31;
    height: 22px;
    width: 120px;  
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-family: helvetica;
    font-size: 12px;
    border-radius: 4px;
    transition: 0.25s;
    cursor: pointer;


}
.dropdown {
    display: inline-block;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #5e5e5e;
    min-width: 120px;
    z-index: 1;
    border-radius: 4px;
}
.dropdown-content a {
    color: rgb(255, 255, 255);
    font-family: helvetica;
    padding: 4px 8px;
    text-decoration: none;
    display: block;
    text-align: left;
    font-size: 12px;
    cursor: pointer;


}
.dropdown-content a:hover {
    background-color: #383838;
    border-radius: 4px;
}
.dropdown:hover .dropdown-content {
    display: block;
}
.dropdown:hover .dropbtn {
    background-color: #fd9f31;
    color:white;
}
.button {
    position: relative;
    background-color: transparent;
    border-width: 2px;
    border-color: #fd9f31;
    border-style: solid;
    color: #fd9f31;
    height: 22px;
    width: 120px;  
    text-align: center;
    text-decoration: none;
    font-family: helvetica;
    font-size: 12px;
    border-radius: 4px;
    transition: 0.25s;
    cursor: pointer;
    display: inline-block;



}
.button:hover {
    background-color: #fd9f31;
    color:white;
}
#typewriter{
    font-family: helvetica;
    font-size: 12px;
    visibility:hidden;
}

/* FRAMES */
/*
[lang|=frameName] {
    color: white;
    font-family: helvetica;
    font-Size: 12px;
    text-Align: left;
    padding: 3px;
    margin-left: 1%;
    margin-bottom: 1px;
    cursor:pointer;
    width: fit-content;
    border-radius: 3px;
    background-color: transparent;
}
[lang|=frameName]:hover {
    background-color: #fd9e31cc;
}
[lang|=frameName]:hover + [lang|=frame]{
    border: 1px solid #fd9e31cc;  
}
    */
.frame-container {
    display: flex;
    flex-wrap: nowrap;
    border-collapse: separate;
    border-radius: 5px;
    width: 98%;
    margin: auto;
    border: 1px solid #ddd;
    overflow-x: auto;
    overflow-y: hidden;
    height: 98vh;
    border-spacing: 5px;
    overscroll-behavior-x: contain;
    padding: 10px;
}

.frame-container:hover {
    border: 1px solid #fd9e31cc;
}

.frame-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.draggable-group {
    cursor: move;
}
/*[lang|=pieceName] {
    color: white;
    font-family: helvetica;
    font-size: 10px;
    text-align: left;
    height: 10px;
}
[lang|=pieceColumn] {
    vertical-align: top;
}
[lang|=svgLine] {
    height: 205px;
    border-collapse: collapse;
    vertical-align: middle;
    display: table-cell;
}
[lang|=svgNameLine] {
    height: 10px;
}
[lang|=pieceColumn]:hover {
    background-color: #ffffff0e;
}*/

/* CLICK PIECE */
#pieceWindow {
    display: none;
    position:fixed;
    margin-left: 2.5%;
    margin-top: 1.25%;
    z-index: 1;
    left: 0;
    top: 0;
    width: 95%;
    height: 95%;
    overflow: none;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #1f201f;
}
.pieceWinCont {
    background-color: #fefefe;
    margin: 15% auto;
    /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    /* Could be more or less, depending on screen size */
}
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
#modalPieceName {
    font-weight: bold;
    margin-left: 12px;
    width: 600px;
    float: left;
}
#modalCloseButton{
    padding: 4px;
    width: 12px;
    height: 12px;
    float: right;  
}
#clickPieceSvg{
    width: 95%;
    height: 90%;
    position: relative;
    margin-left: 2.5%;
    margin-bottom: 2.5%;
}
#svgSize{
    text-align: center;
}

/* BOTTOM MENU */
#bottomWindow {
    display: none;
    position: fixed;
    height: 44px;
    overflow: none;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #1f201f;
    align-content: center;
    z-index: 1;
    left: 50%;
    bottom: 10px;
    transform: translate(-50%, 0); 

}
#bottomWinLine{
    height: 30px;
    padding-left: 10px;
    padding-right: 10px;

}
#bottomWinDXFinfos{
    display: table-cell;
    vertical-align: middle;
    height: 24px;
    font-weight: bold;
    padding-bottom: 0px;
    font-family: helvetica;
    color: white;
    font-size: 12px;
    padding-top: 8px;
}    
.bottomButton{
    padding-top: 8px;
    height: 24px;
    padding-left: 10px;
    padding-bottom: 0px;
    cursor: pointer;  

}

/* RIGHT CLICK MENUS */
.rightClickPiece{
    background-color: black;
    padding: 3px;
    font-size: 10px;
    font-family: helvetica;
    color: white;
    text-align: center;
    min-width: 60px;
    max-width: 110px;
    display: none;
    position: absolute;
    z-index: 1;
}
.rightClickPieceContent{
    height: 16px;
    min-width: 60px;
    max-width: 110px;
    cursor: pointer;
    text-align: left;
    padding-left: 2px;
    padding-right: 3px;

}
.rightClickPieceContent:hover{
    background-color: rgba(255, 255, 255, 0.473);
}

/* YES/NO */
.filter {
    display: none;
    position:fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: none;
    background-color: #1f201fd5;
}
.yesNoWin {
    border-color: #fd9f31;
    border-style: solid;
    border-width: 2px;
    color: #fd9f31;
    position:relative;
    margin-left: 50%;
    margin-top: 50%;
    z-index: 1;
    left: 0;
    top: 0;
    width: 400px;
    height: 74px;
    overflow: none;
    border-radius: 6px;
    background-color: #1f201f;
    transform: translate(-50%, -50%);

}
.yesNoHead{
    font-size: 12px;
    font-family: helvetica;
    text-align: center;
}
.buttonContainer{
    display: flex;
    justify-content: center;
    align-items: center;
}
.yesNoButton{
    position:relative;
    background-color: transparent;
    border-width: 2px;
    border-color: #fd9f31;
    border-style: solid;
    color: #fd9f31;
    height: 22px;
    width: 80px;  
    text-align: center;
    text-decoration: none;
    font-family: helvetica;
    font-size: 12px;
    border-radius: 4px;
    transition: 0.25s;
    cursor: pointer;
    display: inline-block;


}
.yesNoButton:hover {
    background-color: #fd9f31;
    color:white;
}

/* CONSUMPTION FRAME */
#consumptionFrame {
    display: none;    
    width: 98%;
    margin: auto;
    border: 1px solid #ddd;
    overflow-x: auto;
    overflow-y: hidden;
    height: 50%;
    border-spacing: 5px;
    overscroll-behavior-x: contain;    
}
#chooseFrameConsumption{
    background-color: black;
    padding: 3px;
    font-size: 10px;
    font-family: helvetica;
    color: white;
    text-align: center;
    min-width: 100px;
    max-width: 170px;
    display: none;
    position: fixed;
    z-index: 1;
    left: 50%;
    transform: translate(-65px, 0);
    bottom: 56px;
    border-radius: 8px;
}
#consptMat{
    height: 16px;
    min-width: 40px;
    max-width: 80px;
    cursor: pointer;
    text-align: left;
    padding-left: 2px;
    padding-right: 3px;

}
.consptPcs{
    width: 20px;
    background-color: black;
    padding: 3px;
    font-size: 10px;
    text-align: center;
    font-family: helvetica;
    color: white;
    border-radius: 4px;
}
.width{
    width: 30px;
    background-color: black;
    padding: 3px;
    font-size: 10px;
    text-align: center;
    font-family: helvetica;
    color: white;
    border-radius: 4px;
}
#consptGo{
    width: 30px;
    background-color: black;
    padding: 3px;
    font-size: 10px;
    font-family: helvetica;
    color: white;
    border-radius: 4px;
}
#consptGo:hover{
    background-color: rgba(255, 255, 255, 0.473);
}


/* VARIANTE table */
.infoVar{
    display: none;
    margin: auto;
    align-content: center;
    width: 920px;
    padding-top: 200px;

}
.infoVarHeadtr{
    display: inline;
    align-content: center;
    margin: auto;
    border-bottom: 1px solid #aaa;

}
.noVar{
    font-size: 14px;
    text-align: center;
    vertical-align: middle;
    font-family: helvetica;
    color: white;
    width: 40px;
    padding-top: 4px;
    padding-bottom: 4px;
}
.nameVar{
    font-size: 14px;
    text-align: center;
    vertical-align: middle;
    font-family: helvetica;
    color: white;
    width: 120px;
    padding-top: 4px;
    padding-bottom: 4px;
}
.singleVar{
    font-size: 14px;
    text-align: center;
    vertical-align: middle;
    font-family: helvetica;
    color: white;
    width: 120px;
    padding-top: 4px;
    padding-bottom: 4px;
}
.npdoVar{
    font-size: 14px;
    text-align: center;
    vertical-align: middle;
    font-family: helvetica;
    color: white;
    width: 120px;
    padding-top: 4px;
    padding-bottom: 4px;
}
.fabricVar{
    font-size: 14px;
    text-align: center;
    vertical-align: middle;
    font-family: helvetica;
    color: white;
    width: 120px;
    padding-top: 4px;
    padding-bottom: 4px;
}
.commentVar{
    font-size: 14px;
    text-align: left;
    vertical-align: middle;
    padding-left: 20px;
    font-family: helvetica;
    color: white;
    width: 400px;
    padding-top: 4px;
    padding-bottom: 4px;
}
.totVar{
    font-size: 14px;
    text-align: right;
    vertical-align: middle;
    padding-left: 20px;
    font-family: helvetica;
    color: white;
    width: 920px;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-right: 40px
}

.totVar{
    font-size: 14px;
    text-align: center;
    font-family: helvetica;
    color: white;
    width: 200px;
    display: block;
}




.downloadSvg{
    display: none;
    margin: auto;
    align-content: center;
    width: 920px;
    padding-top: 200px;

}

/* info sidebar */

#info, #info_placement{
    display: none;
    color: #fd9f31;
    font-family: helvetica;
    font-size: 12px;
    align-items: center;
    }
    h1.label{
    font-size: 4em;
    margin: 0.2em 0 0 0;
    padding: 0;
    line-height: 1;
    font-weight: normal;
    color: #fd9f31;
    }
    h1.label sup{
    font-size: 0.5em;
    }
    .column{
    margin: 0.5em 4em 2em 0;
    float: left;
    }
    .progress{
    width: 51%;
    clear: both;
    height: 1.2em;
    background-color: rgba(255, 255, 255, 0);
    border: 1px solid #fd9f31;;
    border-radius: 1em;
    margin-bottom: 0.4em;
    }
    .progress_inner{
    height: 100%;
    background-color: #fd9f31;
    border-radius: 1em;
    }
    #config{
    max-height: 0;
    overflow: hidden;
    width: 20em;
    position: absolute;
    top: 0;
    left: 24.5em;
    background-color: #fff;
    border-radius: 0.5em;
    transition: max-height  0.5s;
    }
    #configwrapper{
    float: left;
    padding: 3em 0 1em 2em;
    }
    #config.active{
    display: block;
    max-height: 50em;
    box-shadow: 0 2px 1px #d7dae1;
    }
    #configbutton{
    position: relative;
    z-index: 2;
    width: 3em;
    padding: 0;
    height: 2.5em;
    background-position: 50%;
    }
    #zoominbutton, #zoomoutbutton, #exitbutton{
    width: 3em;
    padding: 0;
    height: 2.5em;
    background-position: 50%;
    }
    #configbutton.close:hover{
    box-shadow: none;
    }
    #configsave{
    margin-left: 7%;
    }
    #config input, #config h3, #config .tooltip{
    margin: 1em 0 0 0;
    height: 2em;
    padding: 0;
    }
    #config input{
    float: left;
    width: 13%;
    font-size: 1em;
    border: 2px solid #8aba5a;
    color: #fff;
    color: #8aba5a;
    text-align: center;
    clear: left;
    border-radius: 0.4em;
    }
    #config input:hover{
    background-color: #ededf0;
    }
    #config input.checkbox{
    width: 7%;
    margin-left: 4%;
    margin-right: 4%;
    border: 1px solid #f00;
    }
    #config h3{
    float: left;
    width: 65%;
    margin-left: 5%;
    padding: 0;
    font-size: 0.8em;
    line-height: 3em;
    }
    #config .tooltip{
    float: left;
    max-width: 15%;
    width: 1.5em;
    height: 1.5em;
    font-size: 0.8em;
    font-weight: bold;
    background-color: #fff;
    background-color: #8aba5a;
    color: #fff;
    text-align: center;
    line-height: 1.5;
    margin-top: 1.8em;
    cursor: default;
    border-radius: 3em;
    }
    #config .button{
    float: left;
    clear: both;
    margin-top: 2em;
    }

/*Hide arrows in input number*/
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

g:hover{
    fill: white;
}
text:hover{
    fill: white;
}

